import { createApp } from 'vue';

import App from './App.vue';
import Antd from 'ant-design-vue';
import router from './router';
import { createPinia } from 'pinia';
import piniaPersist from 'pinia-plugin-persistedstate';
import './style.css';

// Vue3ColorPicker
import Vue3ColorPicker from 'vue3-colorpicker';
import 'vue3-colorpicker/style.css';

// pinia
const pinia = createPinia();
pinia.use(piniaPersist);

const app = createApp(App);
app.use(Antd);
app.use(pinia);
app.use(router);
app.use(Vue3ColorPicker);
app.mount('#app');
